import instance from '@/utils/request';


//商品管理显示
export function GetWarehouseManagermentDtoAsync(data) {
    return instance.request({
        url: "api/WarehouseManagement/GetWarehouseManagermentDto",
        method: "post",
        data
    })
}


//新增仓库
export function AddWarehouseManagerment(data) {
    return instance.request({
        url: "api/WarehouseManagement/AddWarehouseManagerment",
        method: "post",
        data
    })
}

//反填仓库
export function FilWarehouseDto(data) {
    return instance.request({
        url: "api/WarehouseManagement/FilWarehouseDto",
        method: "post",
        data
    })
}

//修改仓库
export function UpdWarehouseManagerment(data) {
    return instance.request({
        url: "api/WarehouseManagement/UpdWarehouseManagerment",
        method: "post",
        data
    })
}

//删除仓库
export function DelWarehouseManagerment(data) {
    return instance.request({
        url: "api/WarehouseManagement/DelWarehouseManagerment",
        method: "post",
        data
    })
}

//批量删除
export function BatchDelWarehouseManagerment(data) {
    return instance.request({
        url: "api/WarehouseManagement/BatchDelWarehouseManagerment",
        method: "post",
        data
    })
}